//
//  ORChannelCollectionViewCell.m
//  News
//
//  Created by rimi on 2016/12/9.
//  Copyright © 2016年 dongfumei. All rights reserved.
//

#import "ORChannelCollectionViewCell.h"

@interface ORChannelCollectionViewCell ()

@property (nonatomic, strong) UILabel *channelLabel;

@end

@implementation ORChannelCollectionViewCell

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        [self.contentView addSubview:self.channelLabel];
    }
    return self;
}

-(UILabel *)channelLabel{
    if (!_channelLabel) {
        _channelLabel = [[UILabel alloc]initWithFrame:AAdaptionRect(0, 5 , 80, 20)];
        _channelLabel.font = AAFont(14);
        _channelLabel.textColor = [UIColor darkTextColor];
        _channelLabel.textAlignment = NSTextAlignmentCenter;
    }
    return _channelLabel;
}

@end
